package com.nsu.cl.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.nsu.cl.pojo.Clazz;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 52618
* @description 针对表【clazz(班级表)】的数据库操作Service
* @createDate 2023-02-16 14:21:02
*/
public interface ClazzService extends IService<Clazz> {

    IPage<Clazz> getClazzByOpr(Page<Clazz> page, Clazz clazz);

    List<Clazz> getClazzs();

    Clazz getClazzById(Long id);

    List<Clazz> getClazzBySome(Clazz clazz);

    Clazz getClazzByName(String name);
}
